Creates a Function to evaluate a given property path on a given object.

Examples

For the property path: MyProperty1.MyProperty2 it will return the following function: i => i.MyProperty1.MyProperty2

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public static Func<T, X> CreateSelector<T, X>(
	string path
)
Visual Basic
Public Shared Function CreateSelector(Of T, X) ( _
	path As String _
) As Func(Of T, X)

Parameters

path
Type: System..::..String
The path.

Type Parameters

T
Type of the element where the property path will be accessed.
X
Type of the result after evaluated the full property path.

Return Value

See Also